package com.hr.mapper;

import com.hr.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {

    void addRole(Role role);

    void deleteRole(Integer roleId);

    void updateRole(Role role);

    Role getRole(Integer roleId);

    List<Role> getRoleList();

}
